package com.ruoyi.biz.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;
import java.util.Map;

/**
 * 课程考试题对象 biz_course_exam
 * 
 * @author ruoyi
 * @date 2021-08-24
 */
public class BizCourseExam extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 所属课程内容 */
    @Excel(name = "所属课程内容")
    private Long courseDetailId;

    /** 考试标题 */
    @Excel(name = "考试标题")
    private String examTitle;
    private String courseDetailTitle;
    private String courseName;
    private String subjectName;

    /** 试题文本 */
    @Excel(name = "试题文本")
    private String originText;

    /** 试题内容 */
    @Excel(name = "试题内容")
    private String examContent;

    private List<Map> examList;

    /** 显示顺序 */
    @Excel(name = "显示顺序")
    private Long orderNum;

    /** 是否启用（0否 1是） */
    @Excel(name = "是否启用", readConverterExp = "0=否,1=是")
    private String activeStatus;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCourseDetailId(Long courseDetailId) 
    {
        this.courseDetailId = courseDetailId;
    }

    public Long getCourseDetailId() 
    {
        return courseDetailId;
    }
    public void setExamTitle(String examTitle) 
    {
        this.examTitle = examTitle;
    }

    public String getExamTitle() 
    {
        return examTitle;
    }
    public void setOriginText(String originText) 
    {
        this.originText = originText;
    }

    public String getOriginText() 
    {
        return originText;
    }
    public void setExamContent(String examContent) 
    {
        this.examContent = examContent;
    }

    public List<Map> getExamList() {
        return examList;
    }

    public void setExamList(List<Map> examList) {
        this.examList = examList;
    }

    public String getExamContent()
    {
        return examContent;
    }
    public void setOrderNum(Long orderNum) 
    {
        this.orderNum = orderNum;
    }

    public Long getOrderNum() 
    {
        return orderNum;
    }
    public void setActiveStatus(String activeStatus) 
    {
        this.activeStatus = activeStatus;
    }

    public String getActiveStatus() 
    {
        return activeStatus;
    }

    public String getCourseDetailTitle() {
        return courseDetailTitle;
    }

    public String getCourseName() {
        return courseName;
    }

    public String getSubjectName() {
        return subjectName;
    }

    public void setSubjectName(String subjectName) {
        this.subjectName = subjectName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public void setCourseDetailTitle(String courseDetailTitle) {
        this.courseDetailTitle = courseDetailTitle;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("courseDetailId", getCourseDetailId())
            .append("examTitle", getExamTitle())
            .append("originText", getOriginText())
            .append("examContent", getExamContent())
            .append("orderNum", getOrderNum())
            .append("activeStatus", getActiveStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
